package com.czmh.etc.interpreter.entity.base;

/**
 * Created by Huangyk on 2019/6/5.
 */
public class RequestResultBody extends Header {
    public static int BODY_LEN = Header.HEADER_LEN + 42;

    /// <summary>
    /// 流水号，共20位，2位银行编码+14位业务时间+4位业务序号。
    /// </summary>
    public String WasteSn;

    /// <summary>
    /// 成功、失败
    /// </summary>
    public byte Flag;

    /// <summary>
    /// 网点编号，2位银行代号+5位网点号
    /// </summary>
    public String PosID;

    /// <summary>
    /// 终端机编号，终端机编号（需要银行提供）
    /// </summary>
    public String TerminalID;

    public RequestResultBody(EnMessagetype msgType) {
        super(msgType);
    }

    //region getter && setter
    public String getWasteSn() {
        return WasteSn;
    }

    public void setWasteSn(String wasteSn) {
        WasteSn = wasteSn;
    }

    public byte getFlag() {
        return Flag;
    }

    public void setFlag(byte flag) {
        Flag = flag;
    }

    public String getPosID() {
        return PosID;
    }

    public void setPosID(String posID) {
        PosID = posID;
    }

    public String getTerminalID() {
        return TerminalID;
    }

    public void setTerminalID(String terminalID) {
        TerminalID = terminalID;
    }
    //endregion
}